<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="shortcut icon" href="#"/>
</head>
<body>
<form action="/login" method="post">
<table>
    <tr>
        <span th:text="${msg}"></span>
        <td>
            用户名:
        </td>
        <td>
            <input type="text" name="username">
        </td>
    </tr>
    <tr>
        <td>密码:</td>
        <td>
            <input type="password" name="password">
        </td>
    </tr>
    <tr>
        <td>
            <input type="submit" value="登录">
        </td>
    </tr>
</table>
</form>
</body>
</html>